import { GET_INFO } from "../constant";

const asyncReducer = (state={}, action) => {
    switch(action.type){
        case GET_INFO:
            return {state, ...action.userInfo.result}
        default:
            return state
    }
}

export default asyncReducer